<?php echo $this->Html->script(array('jquery-1.8.2', 'jquery-ui-1.9.1.custom.min')); ?>
<ul class="breadcrumb">
    <li><?php echo $this->Html->link(__('//controller//'), array('action' => 'index')); ?><span class="divider">/</span></li>
    <li class="active"><b><?php echo __('//report_name//'); ?></b></li>
</ul>
<div class="accordion" id="accordion2">
    <div class="accordion-group">
        <div class="accordion-heading">
            <a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="#collapseOne">
                Filter
            </a>
        </div>
        <div id="collapseOne" class="accordion-body collapse">
            <div class="accordion-inner">
                <?php
                echo $this->Form->create('//controller/////menu_3//', array(
                    'class' => 'form-horizontal',
                    'inputDefaults' => array(
                        'format' => array('before', 'label', 'between', 'input', 'error', 'after'),
                        'div' => array('class' => 'control-group'),
                        'between' => '<div class="controls">',
                        'after' => '</div>',
                        'error' => array('attributes' => array('wrap' => 'span', 'class' => 'help-inline')),
                )));
                ?>
                //textfield_attrs//
                <div class="control-group">
                    <div class="controls">
                        <?php echo $this->Form->button('Find', array('type' => 'submit', 'class' => 'btn btn-primary')); ?>
                    </div>
                </div>
                <?php echo $this->Form->end(); ?>
            </div>
        </div>
    </div>    
</div>


<?php
    echo $this->Form->create('//controller//',array('action'=>'//menu_3//pdf'));
        //str_forms_pdf//
         echo $this->Form->button('PDF', array('type' => 'submit', 'class' => 'btn btn-primary')); 
    echo $this->Form->end();
?>

    <div class="autoscroll">
        <table class="table table-bordered table-striped">
            <tr>

                //th_attrs//                
            </tr>
            <?php foreach( $//models// as $//model// ): ?>
            <tr>
                //td_attrs//                
            </tr>
            <?php endforeach; ?>
        </table>
    </div>
    <div  id="psg" >
        <?php $this->Paginator->prev('< ' . __('previous'), array('url' => array(//pdf_param//),'escape'=>false));?>
        <?php $pag_number = $this->Paginator->numbers(array('url' => array(//pdf_param//))); ?>
        <?php echo(!empty ($pag_number)) ? '|' :'';  echo $pag_number;?>
        <?php echo $this->Paginator->next(__('next') . ' >', array('url' => array(//pdf_param//),'escape'=>false));?>
    </div>